package com.mj.entity;

import lombok.Data;

import java.util.*;

@Data
public class Book {
    private int id;
    private String name;
    private double price;
    private Date date;
    private String[] address;
    private Set<String> set;
    private List<Integer> list;
    private Map<String,User> map;
    private Properties properties;
    private User user;
    public Book(){};
    public Book(String name){
        this.name = name;
    }
    public Book(int id,String name){
        this.id = id;
        this.name = name;
    }
}
